// components/songs-menu/index.js
Component({
  /**
   * 组件的属性列表
   */
  properties: {
    songsList: {
      type: Array,
      value: []
    },
    title: {
      type: String,
      value: "默认歌单"
    },
    detailText: {
      type: String,
      value: "按钮"
    },
    colorItem: {
      type: Object,
      value: {
        color: 'black',
        backgroundColor: 'white'
      }
    },
    cat: {
      type: String,
      value: '全部'
    }
  },

  /**
   * 组件的初始数据
   */
  data: {

  },

  /**
   * 组件的方法列表
   */
  methods: {
    handleClickMore() {
      wx.navigateTo({
        url: '/pages/song-menus-show/index?type=' + this.properties.cat,
      })
    }
  }
})
